package com.swpu.exception;

public class BusinessException extends RuntimeException {
    private Integer eCode;

    public Integer geteCode() {
        return eCode;
    }

    public BusinessException(Integer eCode, String message) {
        super(message);
        this.eCode = eCode;
    }

    public BusinessException(Integer eCode, String message, Throwable cause) {
        super(message, cause);
        this.eCode = eCode;
    }
}
